package com.example.vertification.repository;


import com.example.vertification.entity.PageEntity;
import com.example.vertification.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import java.util.List;


@Repository
public interface PageRepository extends JpaRepository<PageEntity, Long> {


        PageEntity findByPageId(Long id);

        Page<PageEntity> findAll(Pageable pageable);
}